package com.hyt.it.ogt.kq.common.gov.constant.admission;

import cn.hutool.core.collection.CollectionUtil;

import java.util.List;

/**
 * 准考证模板code
 */
public interface AdmissionTicketTemplateCode {

    /**
     * 姓名
     */
    String NAME = "name";

    /**
     * 固定电话
     */
    String TELEPHONE = "telephone";

    /**
     * 证件照
     */
    String CERTIFICATE_PHOTO = "certificatephoto";

    /**
     * 证件类型
     */
    String CERTIFICATE_TYPE = "certificatetype";

    /**
     * 组织机构
     */
    String OFFICE = "office";

    /**
     * 地区
     */
    String AREA = "area";

    /**
     * 准考证号
     */
    String ADMISSION_NO = "admissionno";

    /**
     * 性别
     */
    String SEX = "sex";

    /**
     * 手机号
     */
    String PHONE = "phone";

    /**
     * 年龄
     */
    String AGE = "age";

    /**
     * 居住地址
     */
    String ADDRESS = "address";

    /**
     * 邮箱
     */
    String EMAIL = "email";

    /**
     * 证件号码
     */
    String ID_CARD = "idcard";

    /**
     * 出生日期
     */
    String BIRTHDAY = "birthday";

    /**
     * 身份证照片
     */
    String ID_CARD_PHOTO = "idcardphoto";

    /**
     * 批次号
     */
    String TIME_NO = "time_no";

    /**
     * 考试名称
     */
    String EXAM_NAME = "exam_name";

    /**
     * 批次名称
     */
    String TIME_NAME = "time_name";

    /**
     * 科目名称
     */
    String SUBJECT_NAME = "subject_name";

    /**
     * 批次开始时间
     */
    String TIME_START = "time_start";

    /**
     * 批次结束时间
     */
    String TIME_END = "time_end";

    /**
     * 座位号
     */
    String EXAM_SEAT = "exam_seat";

    /**
     * 考试开始时间
     */
    String EXAM_START = "exam_start";

    /**
     * 考试结束时间
     */
    String EXAM_END = "exam_end";

    /**
     * 考试地址
     */
    String EXAM_URL = "exam_url";

    /**
     * 考试id
     */
    String EXAM_ID = "exam_id";

    /**
     * 考生须知
     */
    String EXAM_AGREEMENT = "exam_agreement";

    /**
     * 考试时间
     */
    String EXAM_TIME = "exam_time";

    /**
     * 考点名称
     */
    String PLACE_NAME = "place_name";

    /**
     * 考点地址
     */
    String PLACE_ADDRESS = "place_address";

    /**
     * 考场地址
     */
    String ROOM_ADDRESS = "room_address";

    /**
     * 考场名称
     */
    String ROOM_NAME = "room_name";

    /**
     * 所有模板使用的公共code
     *
     * @return
     */
    static List<String> publicCode() {
        return CollectionUtil.newArrayList(CERTIFICATE_PHOTO, EXAM_AGREEMENT, EXAM_NAME);
    }
}
